<include file="public/header"/>
<div class="am-cf admin-main">
<!-- sidebar start -->
    <include file="public/sidebar"/>
<!-- sidebar end -->
<!-- content start -->
<div class="admin-content">
<div class="am-cf am-padding">
    <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">首页</strong>
    </div>
</div>
    <if condition="(session('role') eq 0) OR (session('role') eq 2)">
<ul class="am-avg-sm-1 am-avg-md-4 am-margin am-padding am-text-center admin-content-list ">
    <li><a href="{:U('Order/orderList')}" class="am-text-primary"><span class="am-icon-btn am-icon-behance-square"></span><br/>已预约<br/>{$data.yuyue_count}</a>
    </li>
    <li><a href="{:U('Order/orderList3')}" class="am-text-secondary"><span class="am-icon-btn am-icon-briefcase"></span><br/>今日订单<br/>{$data.paidang_count}</a>
    </li>
    <li><a href="{:U('Order/orderList2')}" class="am-text-success"><span class="am-icon-btn am-icon-steam-square"></span><br/>累计订单<br/>{$data.liangyi_count}
    </a></li>
    <!--<li><a href="{:U('Order/endList')}" class="am-text-warning"><span class="am-icon-btn am-icon-soundcloud"></span><br/>已完成<br/>{$data.end_count}-->
    <!--</a></li>-->
    <!--<li><a href="{:U('Order/psList')}" class="am-text-danger"><span class="am-icon-btn am-icon-deviantart"></span><br/>待配送<br/>{$data.startps_count}-->
    <!--</a></li>-->
    <!--<li><a href="{:U('Order/ps_endList')}" class="am-text-primary"><span class="am-icon-btn am-icon-spotify"></span><br/>已配送<br/>{$data.endps_count}-->
    <!--</a></li>-->
    <!--<li><a href="{:U('Order/returnList')}" class="am-text-secondary"><span class="am-icon-btn am-icon-tree"></span><br/>返工单<br/>{$data.fg_count}-->
    <!--</a></li>-->
</ul>
</if>
    <if condition="session('role') neq 4">
    <form method="post" action="__URL__/../Custom/first_search" class="am-form">
        <div class="am-form-group am-margin-left am-fl">
            <select name="select" id="select">
                <option value="phone">手机</option>
                <option value="name">姓名</option>
                <option value="ordernum">订单号</option>
            </select>
        </div>
        <div class="am-u-md-3 am-cf">
            <div class="am-fr">
                <div class="am-input-group am-input-group-sm">
                    <input type="text" class="am-form-field" name="ifin" id="ifin">
                <span class="am-input-group-btn">
                  <button class="am-btn am-btn-default" type="submit">搜索</button>
                </span>
                </div>
            </div>
        </div>
    </form>
    </if>
</div>
<!-- content end -->
</div>
<include file="public/footer"/>
